
<div class="main-banner">
            	
                <div class="right" id="container">
                	<div id="example">
                        <div id="slides">
                            <div class="slides_container"> 
                             <?php
							if(count($slideshows))
							{
								foreach($slideshows as $item)
								{
							?>
                                <a href="#"><img src="<?php echo $this->config->item('link-assets').$this->config->item('upload_folder_banner').$item['image']; ?>" width="665" height="166" alt="" /></a>
							<?php
                                }
                            }
                            ?>     
                            </div>
                            <div class="bg-left"></div>
                            <div class="bg-right"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

<div id="main-container">
            <div class="main-content">
            	<h1>Nieuws</h1>
                <div class="content-news">
                	<h2><?php echo $newsdetail->title;?></h2>
                    <p><?php echo strftime("%A, %d %B %Y ", strtotime($newsdetail->created_date)); ?></p>
                    <div class="content">
                    	<img class="img-news" src="<?php echo $this->config->item('link-assets').$this->config->item('upload_folder_article').$newsdetail->image; ?>" width="228" alt="" />
                    	<strong><?php echo $newsdetail->intro;?> </strong>
                        <?php echo $newsdetail->description;?>
                    </div>
                </div>
                <div class="list-news">
                	<h3>Overig nieuws</h3>
                    <ul>
                    <?php
					if(count($orthernews))
					{
						foreach($orthernews as $item)
								{
					?>
                    	<a href="<?php echo site_url("news/".$item['title_alias']); ?>"><?php echo $item['title']; ?></a></li>
                    <?php
                                }
                            }
                ?> 
                    </ul>
                </div>
                                
            </div>            
        </div>
        
        <div id="block-social">
        	<p>Rembrandtweg 257, 2981 CZ Ridderkerk</p>
            <ul>
            	<img src="<?php echo base_url(); ?>assets/images/icon-facebook-01.png" width="20" height="20" alt="" />
                <a href="http://www.facebook.com/lerenzonderschool">Facebook</a></li>
                <img src="<?php echo base_url(); ?>assets/images/icon-twitter-01.png" width="20" height="20" alt="" /><a href="http://www.twitter.com/bma_academy">Twitter</a></li>
                <img src="<?php echo base_url(); ?>assets/images/icon-linkedin.png" width="20" height="20" alt="" /><a href="http://www.linkedin.com/company/2536883?trk=tyah">Linkedin</a></li>
                <img src="<?php echo base_url(); ?>assets/images/icon-email.png" width="20" height="20" alt="" /><a href="mailto:info@bma-academy.nl">info@bma-academy.nl</a></li>
                <img src="<?php echo base_url(); ?>assets/images/icon-phone.png" width="20" height="20" alt="" /><a href="#">0180-420199</a></li>
            </ul>
        </div>
<script>
jQuery(document).ready(function(){
	jQuery("#mnews").addClass('active');
});
</script>